package com.cloud.ceshi.api;

import com.cloud.ceshi.api.factory.RemoteCeshiFallbackFactory;
import com.cloud.common.core.constant.ServiceNameConstants;
import com.cloud.common.core.domain.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
@FeignClient(contextId = "remoteCeshiService", value = ServiceNameConstants.CESHI_SERVICE, fallbackFactory = RemoteCeshiFallbackFactory.class)
public interface RemoteCeshiService {
    @GetMapping("/list/{ddd}")
    public R list(@PathVariable("ddd") Integer ddd);
}
